home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Experimental BBS Explossion 3
/
Experimental BBS Explossion III.iso
/
sound
/
dupmod12.zip
/
DUPMOD12.DOC
< prev
next >
Wrap
Text File
|
1993-11-20
|
5KB
|
119 lines
Program: S3 Duplicate MOD Identification Utility (DUPMOD.EXE)
Date: 11/20/93
Version: 1.20
Author: George Spafford
Purpose:
To allow a user to compare a specified set of .MOD files to determine whether
there are duplicate MOD files regardless of the DOS file name.
Install:
You can place DUPMOD.EXE anywhere in your PATH that you want to - you can even
rename the DUPMOD.EXE file if you want to.
THIS PROGRAMS REQUIRES THAT YOU HAVE AT LEAST AN 80386 (SX or DX).
Procedure:
DUPMOD is run entirely from the command line. Its usage is:
DUPMOD sourcespec targetspec [name.log]
sourcespec this is the source file specification. For example:
C:\DL\*.MOD
G:*.MOD
and so on
If only the sourcespec is given, the program will
assume that you want to compare those files against
themselves. For instance:
C:\MOD\*.MOD
This will compare all of the .MOD files in the C:\MOD
directory to one another. This is faster than comparing
files in other directories because a pointer is used
that keeps the program from duplicating comparisons in
the same directory.
targetspec this is the comparison directory where you want the
files to be compared.
C:\MOD\*.*
D:\HOLD\*.MOD
DUPMOD C:\MOD\*.MOD G:\MOD\*.MOD
The above example will read each .MOD file in C:\MOD and
compare it to every .MOD file in G:\MOD.
name.log This is the optional name of a log file to store
findings to. Otherwise the program will pause after
each match.
WHEN YOU USE THE LOG FILE, YOU MUST SPECIFY THE TARGET
SPEC ALSO. DUPMOD EXPECTS THE THIRD ARGUMENT ON THE
COMMAND LINE TO BE THE LOG FILE NAME.
IMPORTANT:
DUPMOD compares on the basis of the first 4,096 bytes of each file.
It does NOT take file names or sizes into consideration. I did this
purposefully because of people renaming files and some files being
partially completed .MOD files. The logic is as follows.
1. Find all matches to the source specification.
2. Find all matches to the comparison specification.
3. If the first 4K match, then it is declared a "DUPLICATE."
4. If bytes 21 to 4096 match, then it is declared a
"POSSIBLE DUPLICATE."
The .MOD file structure stores the track title in the first
20 bytes. I have a seen a lot of .MOD files with the track titles
changed. Therefore, comparisons take place in the form of #3 and
#4 as listed above.
Also note, when you are comparing files in the same directory, the
program will not compare a .MOD to itself, it will skip the file.
If your command line is: DUPMOD C:*.MOD C:*.MOD <- obviously your
source and comparison files are the same and A.MOD will be compared
to A.MOD, B.MOD to B.MOD and so forth - thus, we skipp identical file
names if it is the same directory. I only mention this because it will
make the file counter appear inaccurate at times.
History:
11/20/93 v1.2
- Improved video routines
- Compiled for 80386 only. If you have an 8088, you will
need to stick with version 1.0.
10/25/93 v1.1
- Increased the file handling capabilities to 4,000.
- Added a log file option
06/20/93 v1.0 Initial shareware release.
Please Register Me:
DUPMOD is shareware. As such, you can use it for 30 days. If you continue
to use the program after this period, you must register it in order to continue
using it legally. DUPMOD is $10 U.S. per copy.
Please make payments in US Currency (no cash please) to:
George Spafford
3003 Lakeshore Drive #216
Saint Joseph, MI 49085
Unless required, notification of receipt will not be sent.
Comments and/or questions are always welcome. I can be reached via the mail,
EXEC-PC or Channel One
DUPMOD IS DISTRIBUTED AS IS. THE AUTHOR (GEORGE SPAFFORD) MAKES NO
WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, WITH
RESPECT TO THIS SOFTWARE AND DOCUMENTATION. IN NO EVENT SHALL THE AUTHOR
BE LIABLE FOR ANY DAMAGES, INCLUDING LOST PROFITS, LOST SAVINGS, OR ANY OTHER
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF OR THE INABILITY
TO USE THIS PROGRAM.